package com.mk.seckill.vo;

import com.mk.seckill.pojo.Goods;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class GoodsVo extends Goods {
	/**
	 * @Author hhwu
	 * @Description //TODO 秒杀商品返回对象，由商品属性和秒杀商品属性组成的
	 * @Date 14:57 2022/6/7
	 **/
	// 注意这里继承了Goods类
	private BigDecimal seckillPrice;
	private Integer stockCount;
	private Date startDate;
	private Date endDate;
}